package com.zhuss.bean.bo.food.product;

import java.io.Serializable;
import java.util.Date;

import com.zhuss.common.BaseBo;
import com.zhuss.common.IdBo;
import com.zhuss.enums.ProductType;
import com.zhuss.enums.UpperDownEnum;


public class CreateProductBo extends IdBo  implements Serializable, BaseBo {

	

	/**
	 * 
	 */
	private static final long serialVersionUID = -5018567890463968192L;

	private String productNo;
	
	private Integer category;
	
	private String name;
	
	private Integer type = ProductType.特价外卖.key();
	
	private Date date;
	
	private String foodNo;
	
	private Long foodId;
	
	private Integer area;
	
	private Date startTime;
	
	private Date endTime;
	
	private Long price;
	
	private Long total;
	
	private Integer sort;
	
	private Integer productTime;
	
	private Integer floor;
	
	private Integer status = UpperDownEnum.上架.key();
	
	private Long used;

	public String getProductNo() {
		return productNo;
	}

	public void setProductNo(String productNo) {
		this.productNo = productNo;
	}
	
	public Integer getCategory() {
		return category;
	}
	
	public void setCategory(Integer category) {
		this.category = category;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getFoodNo() {
		return foodNo;
	}

	public void setFoodNo(String foodNo) {
		this.foodNo = foodNo;
	}

	public Long getFoodId() {
		return foodId;
	}

	public void setFoodId(Long foodId) {
		this.foodId = foodId;
	}

	public Integer getArea() {
		area = getConcurrentArea();
		return area;
	}

	public void setArea(Integer area) {
		this.area = area;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Long getPrice() {
		return price;
	}

	public void setPrice(Long price) {
		this.price = price;
	}

	public Long getTotal() {
		return total;
	}

	public void setTotal(Long total) {
		this.total = total;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public Integer getProductTime() {
		return productTime;
	}

	public void setProductTime(Integer productTime) {
		this.productTime = productTime;
	}

	public Integer getFloor() {
		return floor;
	}

	public void setFloor(Integer floor) {
		this.floor = floor;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
	
	public Long getUsed() {
		return used;
	}
	
	public void setUsed(Long used) {
		this.used = used;
	}
    
}